package com.doxiaopu.students.component.exception;

/**
 * 违反了unique约束的异常
 */
public class DuplicateKeyException extends ServiceException {
    private static final long serialVersionUID = -9012193362290671429L;

    public DuplicateKeyException() {
        super();
    }

    public DuplicateKeyException(String message) {
        super(message);
    }

    public DuplicateKeyException(String message, Throwable cause) {
        super(message, cause);
    }

    public DuplicateKeyException(Throwable cause) {
        super(cause);
    }

    public DuplicateKeyException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
